import request from '@/utils/request'

// 查询人员签到列表
export function listFormsign(query) {
  return request({
    url: '/system/formsign/list',
    method: 'get',
    params: query
  })
}

// 查询人员签到详细
export function getFormsign(id) {
  return request({
    url: '/system/formsign/' + id,
    method: 'get'
  })
}

// 新增人员签到
export function addFormsign(data) {
  return request({
    url: '/system/formsign',
    method: 'post',
    data: data
  })
}

// 修改人员签到
export function updateFormsign(data) {
  return request({
    url: '/system/formsign',
    method: 'put',
    data: data
  })
}

// 删除人员签到
export function delFormsign(id) {
  return request({
    url: '/system/formsign/' + id,
    method: 'delete'
  })
}
